package com.doeis.uwork.packet;

import com.doeis.minaserver.packet.Packet;

public class MessagePacket extends Packet {
	
	public static final byte CMD_MSG_ADD = 0x1;//新增消息
	public static final byte CMD_MSG_LIST = 0x2;//获取消息列表
	public static final byte CMD_MSG_REPLY = 0x3;//回复消息
	
	public static final byte NOTIFY_MSG_ADD_OTHER = 0xF;//添加回复别人成功
	public static final byte NOTIFY_MSG_ADD = 0x10;//添加成功
	public static final byte NOTIFY_MSG_LIST = 0x11;//查询成功
	public static final byte NOTIFY_MSG_REPLY = 0x12;//回复成功
	public static final byte NOTIFY_MSG_REPLY_OUT = 0x13;//回复给我成功
	
	
	//与用户消息相关的Notyfy状态
	public static final int NT_RE_MSG_IN = 201;//正在发送
	public static final int NT_RE_MSG_OVER = 202;//发送完成
	public static final int NT_RE_MSG_OK = 200;//操作成功
	

	public MessagePacket(){
		this.setPacketType(PacketType.message);
	}


}
